package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hlt
 * @since 2019-12-25
 */

public class Collect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收藏id
     */
    private String id;
    /**
     * 商品id
     */
    private String commid;
    /**
     * 商品名
     */
    private String commname;
    /**
     * 商品描述
     */
    private String commdesc;
    /**
     * 收藏时间
     */
    private Date soldtime;
    /**
     * 0失效 1正常 2删除
     */
    private Integer collstatus;
    /**
     * 商品用户id
     */
    private String cmuserid;
    /**
     * 商品用户名
     */
    private String username;
    /**
     * 商品所在学校
     */
    private String school;
    /**
     * 收藏用户id
     */
    private String couserid;
    /**
     * 收藏操作：收藏or取消收藏
     */
    private Integer colloperate;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCommid() {
		return commid;
	}
	public void setCommid(String commid) {
		this.commid = commid;
	}
	public String getCommname() {
		return commname;
	}
	public void setCommname(String commname) {
		this.commname = commname;
	}
	public String getCommdesc() {
		return commdesc;
	}
	public void setCommdesc(String commdesc) {
		this.commdesc = commdesc;
	}
	public Date getSoldtime() {
		return soldtime;
	}
	public void setSoldtime(Date soldtime) {
		this.soldtime = soldtime;
	}
	public Integer getCollstatus() {
		return collstatus;
	}
	public void setCollstatus(Integer collstatus) {
		this.collstatus = collstatus;
	}
	public String getCmuserid() {
		return cmuserid;
	}
	public void setCmuserid(String cmuserid) {
		this.cmuserid = cmuserid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String getCouserid() {
		return couserid;
	}
	public void setCouserid(String couserid) {
		this.couserid = couserid;
	}
	public Integer getColloperate() {
		return colloperate;
	}
	public void setColloperate(Integer colloperate) {
		this.colloperate = colloperate;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Collect [id=" + id + ", commid=" + commid + ", commname=" + commname + ", commdesc=" + commdesc
				+ ", soldtime=" + soldtime + ", collstatus=" + collstatus + ", cmuserid=" + cmuserid + ", username="
				+ username + ", school=" + school + ", couserid=" + couserid + ", colloperate=" + colloperate + "]";
	}
    
    
}
